//
//  CusAlterview.m
//  DSSH
//
//  Created by Fuhao on 16/4/11.
//  Copyright © 2016年 lcy. All rights reserved.
//

#import "CusAlterview.h"

@implementation CusAlterview

+(instancetype)initWithxib{
    return [[NSBundle mainBundle] loadNibNamed:@"CustAlterview" owner:nil options:nil][0];
}
- (IBAction)Qiut:(id)sender {
    [self removeFromSuperview];
    [_blackbutton removeFromSuperview];
    if([self.delegate respondsToSelector:@selector(Okbuttonalterview:)]){
        self.buttonsta = NO;
        [self.delegate Okbuttonalterview:self];
    }

}
- (IBAction)OKbutton:(id)sender {
    
    DSSHLog(@"确定3G");
    if([self.delegate respondsToSelector:@selector(Okbuttonalterview:)]){
        self.buttonsta = YES;
        [self.delegate Okbuttonalterview:self];
    }
}
-(void)awakeFromNib{
    self.layer.cornerRadius = 5.0;
    _queD.layer.cornerRadius = 5.0;
}

@end
